/*
 * @Author: fhw
 * @Date: 2022-07-17 15:03:25
 * @LastEditors: fhw
 * @LastEditTime: 2022-07-17 15:06:33
 * @Description:
 */
import { Injectable, NestMiddleware } from '@nestjs/common';

@Injectable()
export class LoggerMiddleware implements NestMiddleware {
  use(req: any, res: any, next: () => void) {
    console.log('经过logger');
    next();
  }
}
